Follow the API's shorter 429 wording (0.11.2 / cli 0.8.2) - #25
Merged
Conversation
The per-minute message now says "Please retry after 1 minute" rather than explaining the fixed window inline, and both messages ask politely. The SDK and CLI READMEs quote them verbatim, so they move together — a quoted sentence the server no longer sends is the exact problem this round set out to fix. The window explanation moves into the prose around the quote, where it reads as background rather than as an error message. No runtime change; the errors test that pins verbatim passthrough is updated to the new text. Patch bumps on both packages so the READMEs reach PyPI.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
The API's two 429 sentences changed one release later (sonilo-api-dashboard#226): the per-minute one now says what to do instead of explaining the window inline, and both ask politely.
The "two 429s" section quotes both verbatim, so leaving them behind would put a sentence the server no longer sends in front of users — the exact problem the previous round fixed.
What changed
soniloandsonilo-cliREADMEs quote the new text. The window explanation moves into the prose around the quote, where it reads as background rather than as an error message, and now states the useful part plainly: a retry inside the window cannot succeed, and a full minute always clears it.No runtime change. The errors test that pins verbatim passthrough follows the new text — 237 passed in the core, 86 passed in
sonilo-cli.Patch bumps (0.11.2 / cli 0.8.2) so the READMEs reach PyPI; the CLI's
sonilo>=0.11.0,<0.12pin already admits the new core.🤖 Generated with Claude Code